<template>
    <div class="passwChangedSucc">
        <div class="successBox">
            <img src="@/assets/images/icon/success.png" />
        </div>
        <div class="subTitle">密码已经修改成功，一定要保管好你的密码哦~</div>
        <div class="justLogin" @click="checkPageType('Login')">立即登录</div>
    </div>
</template>

<script>
export default {
    data() {
        return {};
    },
    methods: {
        checkPageType(type) {
            this.$emit("checkPageType", type);
        }
    }
};
</script>

<style scoped lang="scss">
/* 修改密码成功 */
.passwChangedSucc {
    width: 800px;
    margin: 0 auto;
    margin-top: 66px;
    text-align: center;
    position: relative;

    .successBox {
        width: 73px;
        height: 73px;
        margin: 0 auto;
        margin-bottom: 23px;

        img {
            width: 73px;
            height: 73px;
        }
    }

    .subTitle {
        height: 28px;
        font-size: 20px;
        line-height: 28px;
        color: #2d3440;
        margin: 0 auto;
        margin-top: 24px;
        text-align: center;
        font-weight: 600;
    }
    .justLogin {
        width: 368px;
        height: 40px;
        line-height: 40px;
        background: #018854;
        border-radius: 20px;
        font-size: 16px;
        color: #ffffff;
        margin: 0 auto;
        margin-top: 40px;
        cursor: pointer;

        &:hover {
            opacity: 0.8;
        }
    }
}
</style>
